package com.github.vortexdev.yachtclub.repository;

import com.github.vortexdev.yachtclub.models.Regatta;
import com.github.vortexdev.yachtclub.models.Yacht;

import java.util.List;

/**
 * @author Sergey Parakhin (sergey.parahin@gmail.com)
 */
public interface RegattaRepository {
    List<Regatta> findAll();
    List<Regatta> findByYacht(Yacht yacht);
}
